﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace elr_tracking_bal.CATALM
{
    public class Propiedad : INotifyPropertyChanged
    {
        private int _ID_PROPIEDAD;
        private string _PROPIEDAD;

        public int ID_PROPIEDAD
        {
            get
            {
                return _ID_PROPIEDAD;
            }
            set
            {
                if (_ID_PROPIEDAD != value)
                {
                    _ID_PROPIEDAD = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("ID_PROPIEDAD"));
                    }
                }
            }
        }

        public string PROPIEDAD
        {
            get
            {
                return _PROPIEDAD;
            }
            set
            {
                if (_PROPIEDAD != value)
                {
                    _PROPIEDAD = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("PROPIEDAD"));
                    }
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
